﻿using System;

namespace 构造函数
{
    class Program
    {
        static void Main(string[] args)
        {
            Function p2 = new Function("小志", 20, "女");
            Console.Write("调用有参函数：");
            p2.ShowPersonMsg();
            Console.ReadKey();
        }
    }
}
